Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-33602] Bugfixes and improvements for ProgressReporter (#3955). #4100

Merged
merged 4 commits into from
Dec 9, 2021

Conversation

graalvmbot
Copy link
Collaborator

@graalvmbot graalvmbot commented Dec 8, 2021

Bugfixes and improvements for the new Native Image build output (#3955):

  • Fix reporterchelper integration for Windows.
  • Disable colors by default on Windows.
  • Fix an assertion in ProgressReporter.
  • Print total time spent in GCs in percent.

@fniephaus fniephaus self-assigned this Dec 8, 2021
@graalvmbot graalvmbot merged commit 7e6e12b into master Dec 9, 2021
@fniephaus fniephaus deleted the github/fniephaus/GR-33602/bugfixes branch December 9, 2021 12:53
@@ -1549,19 +1549,10 @@
"layout" : {
"clibraries/" : ["extracted-dependency:substratevm:SVM_HOSTED_NATIVE"],
"builder/clibraries/" : ["extracted-dependency:substratevm:SVM_HOSTED_NATIVE"],
"builder/lib/" : ["dependency:com.oracle.svm.native.reporterchelper"],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fniephaus this still leaves reporterchelper under a non-platform-dependent folder:

$ find -name "*chelper*"                                                                                        
./lib/svm/builder/clibraries/linux-amd64/liblibchelper.a
./lib/svm/builder/lib/libreporterchelper.so
./lib/svm/clibraries/linux-amd64/liblibchelper.a

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's right. We'd only add platform-specific folders for consistency. It would, however, make the consuming Java code unnecessarily complex. That's why I think we can drop the platform-specific folders here. Compared with the other libs, reporterchelper is only needed for the image generation runner, not for the native image binary (hence the distinction between "clibraries" and "lib").

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks for the clarification Fabio!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for double-checking! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants